package com.example.apione.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author 尘落
 * @date 2023/2/24
 */
@Data
@TableName(value = "api_accesslog")
public class ApiAccesslog {
    @TableId(type= IdType.AUTO)
    private Integer id;
    private String host;
    @TableField("user_agent")
    private String userAgent;
    private String protocol;
    private String method;
    private String ip;
    @TableField("create_time")
    private Long createTime;

}
